package com.example.learningspringboot.mybatis.services;

import com.example.learningspringboot.mybatis.pojo.User;

import java.time.LocalDateTime;
import java.util.List;

public interface MybatisService {

    int createUser(User user);
    int deleteUser(Integer id);
    User findById(Integer id);
    List<User> findByIds(List<Integer> ids);
    User findByNameAndCreateTime(String name, LocalDateTime createTime);
    User findByCreateTime(LocalDateTime createTime);
}
